package com.heima.domain.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("qc_check_schema")
public class CheckSchema {

   private Integer id;
   private String name;
    @JsonSerialize(using =ToStringSerializer.class)
   private Integer type;
    @JsonSerialize(using = ToStringSerializer.class)
   private Integer method;
   private Integer values1;
   private Integer values2;
   private Integer checkItemId;
   private String description;
   private String createdBy;
   private LocalDateTime createdTime;
   private LocalDateTime updateTime;
}
